<template>
  <div class="box">
    <div class="h_bottom">
      <p @click="guanfun()">
        <!-- <router-link to="/AA">关注</router-link> -->
         关注
      </p>
      <h3>推荐</h3>
      <span class="iconfont icon-jiahao"></span>
    </div>
  </div>
</template>

<script>
export default {
  name: "HomeTop",
  methods:{
    guanfun(){
     
      this.$router.push("/AA");
      

    }
  }
};
</script>

<style scoped>
@import url(../../assets/font/iconfont.css);
@import url(../../assets/font1/iconfont.css);
.box {
  width: 100%;
  height: 0.5rem;
  background-color: white;
}
.h_bottom {
  position: fixed;
  top: 0;
  width: 100%;
  height: 0.5rem;
  line-height: 0.5rem;
  /* margin-top: 0.35rem; */
  padding: 0 0.16rem;
  box-sizing: border-box;
  z-index: 1;
  background-color: white;
}
.h_bottom p {
  float: left;
  font-size: 0.16rem;
  margin-right: 0.2rem;
  height: 0.5rem;
}
.h_bottom h3 {
  float: left;
  font-size: 0.2rem;
  font-weight: 600;
}
.h_bottom .icon-jiahao {
  display: block;
  float: right;
  width: 0.4rem;
  height: 0.4rem;
  background-color: #ff7f7e;
  border-radius: 50%;
  text-align: center;
  line-height: 0.4rem;
  color: white;
  margin-top: 0.07rem;
  font-size: 0.15rem;
}
</style>